package cn.zl.ymcc.api;

import cn.zl.ymcc.doc.CourseDoc;
import cn.zl.ymcc.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient(name = "service-search")
public interface SearchAPI {
    @PostMapping("/es/save")
     Result save(List<CourseDoc> list) ;

}
